#ifndef timers_h_
#define timers_h_


void initTimer(void);
void timer1ClockOff(void);
void timer1ClockOn(void);
void timer1EnableCompAInt(void);
void timer1EnableCompBInt(void);
void timer1DisableCompAInt(void);
void timer1DisableCompBInt(void);
void timer0EnableCompAInt(void);
void timer0DisableCompAInt(void);
void timeCounter(void);
void enable10msTimer(void);

typedef struct
{
  unsigned char ms100;
  unsigned char seconds;
  unsigned char minutes;
  unsigned char hours;
} TIME;

#define TNUM          3
TIME times_[TNUM];


#define TRUNTIME      0
#define TTOTALRUNTIME 1
#define TTRIPTIMEA    2


#endif
